// @Date         2021-12-06
// @Author       Aaron Zhang
// @Description
// @FileName      redis.go

package items

type Redis struct {
	Host         string `json:"host" mapstructure:"host"`
	Password     string `json:"password" mapstructure:"password"`
	Port         int    `json:"port" mapstructure:"port"`
	Db           int    `json:"db" mapstructure:"db"`
	ReadTimeout  string `json:"readTimeout" mapstructure:"read_timeout"`
	DialTimeout  string `json:"dialTimeout" mapstructure:"dial_timeout"`
	WriteTimeout string `json:"writeTimeout" mapstructure:"write_timeout"`
	MaxRetries   int    `json:"maxRetries" mapstructure:"max_retries"`
}
